package com.share.shareplatform.sharelogistics.dao;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;


public interface OrderDao {
    @Update("update `order` set `state`=#{newState} where `state`=#{oldState}")
    Integer updateAllByState(@Param("oldState") String oldState,@Param("newState")String  newState);
}
